Skip to content

Backport tfm 2 3#44

Open
Vge0rge wants to merge 2 commits into
nrfconnect:ncs-v3.4-branchfrom
Vge0rge:backport_tfm_2_3
Open

Backport tfm 2 3#44
Vge0rge wants to merge 2 commits into
nrfconnect:ncs-v3.4-branchfrom
Vge0rge:backport_tfm_2_3

Conversation

@Vge0rge
Copy link
Copy Markdown
Contributor

@Vge0rge Vge0rge commented Jun 3, 2026

No description provided.

Vge0rge added 2 commits June 3, 2026 13:16
This macro is used by the TF-M tests and is implemented as
a patch in the TF-M patch files for TF-PSA-Crypto.

Since Oberon PSA crypto acts as TF-PSA-Crypto provider add this
here.

This will be communicated to Oberon so that we can drop this noup.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
(cherry picked from commit a9e11ac)
Allow a CMAC key to be used with SP800-108 CMAC since they are
compatible.

This was triggered when running the TF-M regression test:
TFM_S_CRYPTO_TEST_1057

which uses a CMAC key for the key derivation, you can check
the function:
psa_key_derivation_sp800_108_counter_cmac_test_vector
from the file crypto_tests_common.c

Another solution to this is to update the test and set the algorithm
to SP800-108 CMAC but this will take more time and it is better in
the mean time to execute this test.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
(cherry picked from commit 1b16da9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant